package com.hospital.api;

import com.hospital.api.factory.RemoteFileFallbackFactory;
import com.hospital.common.core.constants.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import javax.servlet.http.HttpServletResponse;

@FeignClient(contextId = "remoteAcctManageService",value = ServiceNameConstants.ACCT_MANAGE_SERVICE,fallbackFactory = RemoteFileFallbackFactory.class)
public interface AcctManageService {

    @PostMapping("/acct/settle")
    public String wxPayTransfer(String params, HttpServletResponse httpServletResponse);


    @PostMapping("/acct/resettle")
    public String refundSettle(String params, HttpServletResponse httpServletResponse);
}
